package com.dg.cuckoo.admin.service;

import com.dg.cuckoo.admin.dto.compilation.GovernmentMoneyDto;
import com.dg.cuckoo.common.utils.PageModel;
import org.springframework.web.multipart.MultipartFile;

public interface GovernmentMoneyService {

    void save(GovernmentMoneyDto dto, MultipartFile[] files) throws Exception;

    void delect(String id);

    PageModel page(Integer page, Integer pageSize);

    GovernmentMoneyDto openInfo(String id);

    String openContent(String id);

    void update(String id,GovernmentMoneyDto dto, MultipartFile[] files) throws Exception;

    void powerfulSave(GovernmentMoneyDto dto, MultipartFile[] files) throws Exception;

    void powerfulUpdate(String id, GovernmentMoneyDto dto, MultipartFile[] files) throws Exception;

    PageModel powerfulPage(Integer page, Integer pageSize,Integer type);
}
